// Copyright (C) 2016 All rights reserved.
// Author: liufeng11@letv.com (Liu Feng)
// Description:
#ifndef _MYFONTFEATUREEXTRACTOR_H
#define _MYFONTFEATUREEXTRACTOR_H

#include "FontFeatureExtractor.h"

class MyFontFeatureExtractor : public FontFeatureExtractor {
public:
  virtual void ExtractFeature(const unsigned char* data, std::vector<double>* feature);
private:
  inline unsigned char P(const unsigned char* data, int i, int j) {
    return data[i*ROWS+j];
  }
};

#endif //MYFONTFEATUREEXTRACTOR_H
